<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="com.zsgeek.util.StringHelper"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单任务</title>
<link type="text/css" rel="stylesheet" href="star/css/application.css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet"
	href="Simpletooltip-1.3.0/dist/css/simpletooltip.css"
	media="screen" />
<style>
.select {
	width: 40px;
	border: solid 1px #a7b5bc;
}
</style>
</head>
<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a style="text-decoration:underline;" href="index.jsp">首页</a></li>
			<li><a href="#">亚马逊代购管理</a></li>
			<li><a style="text-decoration:underline;" href="<%=path%>/task.do?m=info&orderState=1&order_type=0">产品代购</a></li>
			<li><a href="#">订单任务</a></li>
		</ul>
	</div>
	<div class="formbody">
		<form action="<%=path%>/task.do?m=add" method="post">

        <c:if test="${param.orderNo eq null}">
		     <input type="hidden" id="orderNo" name="orderNo" value="<%=StringHelper.getTimeStamp() %>" /> 
		 </c:if>
		 <c:if test="${param.orderNo ne null}">
		      <input type="hidden" id="orderNo" name="orderNo" value="${param.orderNo }" />
		 </c:if>
			<input type="hidden" name="id" value="${info.id }" /> 
			<input type="hidden" id="order_check" name="order_check" value="${info.order_check }" />
			<input type="hidden" id="siteId" name="siteId" value="${info.siteId }" />
			<input type="hidden" name="type" value="${param.type }" /> 
			<input type="hidden" name="order_type" value="${param.order_type }" />
			<input type="hidden" id="hfDay" />
			<input type="hidden" id="hfDate" />
				
			<div id="usual1" class="usual">
				<!-- <ul class="toolbar1">
					<li style="border: none; background: none;">
						<input name="" type="submit" class="btn" value="确认保存" />&nbsp;&nbsp;
						<input name="" type="button" class="btn" value="在线支付" onclick="location.href='pay.jsp'" />
					</li>
				</ul> -->
				<!--<div class="itab">
					<ul>
						<li><a href="#tab1" class="selected">任务信息</a></li>
						<li><a href="#tab2">任务信息</a></li>
					</ul>
				</div> -->
				<div class="formtitle">
					<span>基本信息</span>
				</div>

				<div id="tab1" class="tabson">
					<table style="margin-bottom: 20px; width: 100%;">
						<tr style="height: 50px;">
							<td align="right">站点<b>*</b></td>
							<td colspan="7">&nbsp;&nbsp;
								<input type="radio" id="rdocM" name="siteId" checked="checked" value="1" ${info.siteId eq 1 ?"checked='checked'":"" }  />美国&nbsp;&nbsp;
								<input type="radio" id="rdocD" name="siteId" value="2" ${info.siteId eq 2 ?"checked='checked'":"" } />德国 
								<input type="radio" id="rdocY" name="siteId" value="3" ${info.siteId eq 3 ?"checked='checked'":"" } />英国<!-- [填写ASIN码的时候，提示选择站点；] -->
							</td>
						</tr>
						<tr style="height: 50px;">
							<td align="right"><label>ASIN<b>*</b></label>&nbsp;&nbsp;</td>
							<td style="width: 89px;"><input 
								name="asin" value="${info.asin }" type="text"
								class="dfinput" style="width: 140px;" required="required"
								data-simpletooltip-position="right" title="请输入正确的产品ASIN号码，不能填SKU号码。如果产品分父子产品的，请填子ASIN" /></td>
							<td align="right" style="width: 50px;"><label>卖家ID<b>*</b></label></td>
							<td><input name="sale_id" 
								value="${info.sale_id }" type="text"
								class="dfinput" style="width: 153px;" required="required"
								data-simpletooltip-position="right" title="请输入授权卖家的ID，而不是主账号的卖家ID" /></td>
							<td align="right"><label>产品价格<b>*</b>($)
							</label></td>
							<td style="width: 140px;"><input name="pro_price"
								value="${info.pro_price }" type="text"
								class="dfinput" style="width: 140px;" required="required"
								data-simpletooltip-position="right" title="请输入授权卖家的产品价格，不包含运费" /></td>
							<td align="right"><label>运费<b>*</b>($)
							</label></td>
							<td><input name="p_price" 
								value="${info.p_price }" type="text" class="dfinput"
								required="required" style="width: 140px;" 
								data-simpletooltip-position="right" title="授权卖家如果是全店免运费的，请填入“0”。如果不是免运费的，请填入准确的产品运费" /></td>
						</tr>
						<tr style="height: 50px;">
							<td align="right"><label>主推关键词<b>*</b></label>&nbsp;&nbsp;</td>
							<td colspan="3"><input name="pro_key"
								value="${info.pro_key }"
								required="required" style="width: 240px;" type="text"
								class="dfinput" 
								data-simpletooltip-position="right" title="每个代购周期只能选择一个核心关键词" />&nbsp; 
								<input name="" type="button"
								id="btnLink" class="btn" value="生成链接>>"
								style="background: rgba(179, 183, 186, 0.27); color: #000; width: 99px;" 
								/>
							</td>
							<td align="right"><label>超级链接<b>*</b></label>&nbsp;</td>
							<td colspan="3"><input name="pro_url"
								value="${info.pro_url }" type="text" required="required"
								class="dfinput" 
								data-simpletooltip-position="right" title="你可以自己编写超级链接，也可以用左侧的按钮生成。自己编写的超级链接，请确保能正常打开" /></td>
						</tr>
						<tr style="height: 50px;">
							<td align="right"><label>产品标题<b>*</b></label>&nbsp;&nbsp;</td>
							<td colspan="3"><input name="pro_title"
								value="${info.pro_title }" type="text"
								required="required" class="dfinput" 
								data-simpletooltip-position="right" title="请输入完整的产品标题，以便系统核对纠错" /></td>
							<td align="right"><label>中文品名</label>&nbsp;</td>
							<td colspan="3"><input name="pro_name"
								value="${info.pro_name }" type="text" 
								class="dfinput" 
								data-simpletooltip-position="right" title="请输入简短的产品品名，以便日后查看历史纪录" /></td>

						</tr>
					</table>
				</div>


				<div class="formtitle">
					<span>任务排期</span>
				</div>

				<div id="tab2" class="tabson">
					<table class="table   table-bordered">
						<tr>
							<td
								style="text-align: center; background: #13C1E8; color: #fff; font-size: 14px; font-weight: bold; vertical-align: middle;"
								colspan="2" rowspan="2">任务</td>
							<td colspan="10"
								style="text-align: center; background: #13C1E8; color: #fff; font-size: 14px; font-weight: bold;">日期</td>
							<td rowspan="2"
								style="text-align: center; background: #13C1E8; color: #fff; font-size: 14px; font-weight: bold; vertical-align: middle;">总数量</td>
							<td rowspan="2"
								style="text-align: center; background: #13C1E8; color: #fff; font-size: 14px; font-weight: bold; vertical-align: middle;">单笔手续费<br />

							</td>
							<td colspan="2" rowspan="2"
								style="text-align: center; background: #13C1E8; color: #fff; font-size: 14px; font-weight: bold; vertical-align: middle;">总手续费
							</td>
						</tr>
						<tr style="background: #13C1E8; color: #fff;">
							<td><input type="text" id="one_day" name="one_day"
								value="${info.one_day }" class="tableinput"
								style="background: #13C1E8; color: #fff;"/>
								<!-- onfocus="WdatePicker({dateFmt:'M月d日',minDate:'%y-%M-{%d+1}'})"  --></td>
							<td style="vertical-align: middle;"><input type="text"
								id="two_day" name="two_day" value="${info.two_day }"
								style="background: #13C1E8; color: #fff;" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="three_day"
								name="three_day" value="${info.three_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="four_day"
								name="four_day" value="${info.four_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="five_day"
								name="five_day" value="${info.five_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="six_day"
								name="six_day" value="${info.six_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="seven_day"
								name="seven_day" value="${info.seven_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="eight_day"
								name="eight_day" value="${info.eight_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="nine_day"
								name="nine_day" value="${info.nine_day }" readonly="readonly"
								class="tableinput" /></td>
							<td style="vertical-align: middle;"><input type="text"
								style="background: #13C1E8; color: #fff;" id="ten_day"
								name="ten_day" value="${info.ten_day }" readonly="readonly"
								class="tableinput" /></td>
						</tr>
						<tr>
							<td rowspan="3"
								style="vertical-align: middle; background: #39885C; color: #fff;">ORDER
								<span style="font-size: 12px; font-weight: normal;"> 
								<input id="order"   name="order" type="checkbox"  value="1" 
								${info.order_check eq 1 ?"checked='checked'":"" }/>提供跟踪号（加2元）
							</span>
							</td>
							<td
								style="vertical-align: middle; background: #39885C; color: #fff;">超级链接进入</td>
							<td><input name="order_url_one_day"
								value="${info.order_url_one_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_two_day"
								value="${info.order_url_two_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_three_day"
								value="${info.order_url_three_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_four_day"
								value="${info.order_url_four_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_five_day"
								value="${info.order_url_five_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_six_day"
								value="${info.order_url_six_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_seven_day"
								value="${info.order_url_seven_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_eight_day"
								value="${info.order_url_eight_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_nine_day"
								value="${info.order_url_nine_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_url_ten_day"
								value="${info.order_url_ten_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input readonly="true" name="order_url_day_sun" value=""
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="order_url_charge"
								value="${info.id ne null ? info.order_url_charge : price1}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="order_url_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>


						<tr>
							<td
								style="vertical-align: middle; background: #39885C; color: #fff;">搜索广告进入</td>
							<td><input name="order_ad_one_day"
								value="${info.order_ad_one_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_two_day"
								value="${info.order_ad_two_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_three_day"
								value="${info.order_ad_three_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_four_day"
								value="${info.order_ad_four_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_five_day"
								value="${info.order_ad_five_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_six_day"
								value="${info.order_ad_six_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_seven_day"
								value="${info.order_ad_seven_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_eight_day"
								value="${info.order_ad_eight_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_nine_day"
								value="${info.order_ad_nine_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_ad_ten_day"
								value="${info.order_ad_ten_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input readonly="true" name="order_ad_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="order_ad_charge"
								value="${info.id ne null ? info.order_ad_charge : price3}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="order_ad_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>

						</tr>
						<tr>
							<td
								style="vertical-align: middle; background: #39885C; color: #fff;">搜索结果进入</td>
							<td><input name="order_result_one_day"
								value="${info.order_result_one_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_two_day"
								value="${info.order_result_two_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_three_day"
								value="${info.order_result_three_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_four_day"
								value="${info.order_result_four_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_five_day"
								value="${info.order_result_five_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_six_day"
								value="${info.order_result_six_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_seven_day"
								value="${info.order_result_seven_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_eight_day"
								value="${info.order_result_eight_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_nine_day"
								value="${info.order_result_nine_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input name="order_result_ten_day"
								value="${info.order_result_ten_day}" type="text" maxlength="2"
								class="tableinput" /></td>
							<td><input readonly="true" name="order_result_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="order_result_charge"
								value="${info.id ne null ? info.order_result_charge : price2}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="order_result_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td
								style="vertical-align: middle; background: #0B3A58; color: #fff;">REVIEW数量</td>
							<td
								style="vertical-align: middle; background: #0B3A58; color: #fff;"></td>
							<td><input name="review_one_day" id="review_one_day" readonly="readonly" onclick="addReview('one_day',this)"
								value="${info.review_one_day}" type="text" 
								class="tableinput review_num"   /></td>
							<td><input name="review_two_day" id="review_two_day" readonly="readonly" onclick="addReview('two_day',this)"
								value="${info.review_two_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_three_day" id="review_three_day" readonly="readonly" onclick="addReview('three_day',this)"
								value="${info.review_three_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_four_day" id="review_four_day" readonly="readonly" onclick="addReview('four_day',this)"
								value="${info.review_four_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_five_day" id="review_five_day" readonly="readonly" onclick="addReview('five_day',this)"
								value="${info.review_five_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_six_day" id="review_six_day" readonly="readonly" onclick="addReview('six_day',this)"
								value="${info.review_six_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_seven_day" id="review_seven_day" readonly="readonly" onclick="addReview('seven_day',this)"
								value="${info.review_seven_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_eight_day" id="review_eight_day" readonly="readonly" onclick="addReview('eight_day',this)"
								value="${info.review_eight_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_nine_day" id="review_nine_day" readonly="readonly" onclick="addReview('nine_day',this)"
								value="${info.review_nine_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input name="review_ten_day" id="review_ten_day" readonly="readonly" onclick="addReview('ten_day',this)"
								value="${info.review_ten_day}" type="text"
								class="tableinput review_num" /></td>
							<td><input readonly="true" name="review_day_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
							<td><input name="review_charge"
								value="${info.id ne null ? info.review_charge : price5}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="review_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td
								style="vertical-align: middle; background: #BD3E18; color: #fff;">FEEDBACK数量</td>
							<td
								style="vertical-align: middle; background: #BD3E18; color: #fff;"></td>
							<td><input name="feedback_one_day" id="feedback_one_day" readonly="readonly" onclick="addFeedback('one_day',this)"
								value="${info.feedback_one_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_two_day" id="feedback_two_day" readonly="readonly" onclick="addFeedback('two_day',this)"
								value="${info.feedback_two_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_three_day" id="feedback_three_day" readonly="readonly" onclick="addFeedback('three_day',this)"
								value="${info.feedback_three_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_four_day" id="feedback_four_day" readonly="readonly" onclick="addFeedback('four_day',this)"
								value="${info.feedback_four_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_five_day" id="feedback_five_day" readonly="readonly" onclick="addFeedback('five_day',this)"
								value="${info.feedback_five_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_six_day" id="feedback_six_day" readonly="readonly" onclick="addFeedback('six_day',this)"
								value="${info.feedback_six_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_seven_day" id="feedback_seven_day" readonly="readonly" onclick="addFeedback('seven_day',this)"
								value="${info.feedback_seven_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_eight_day" id="feedback_eight_day" readonly="readonly" onclick="addFeedback('eight_day',this)"
								value="${info.feedback_eight_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_nine_day" id="feedback_nine_day" readonly="readonly" onclick="addFeedback('nine_day',this)"
								value="${info.feedback_nine_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input name="feedback_ten_day" id="feedback_ten_day" readonly="readonly" onclick="addFeedback('ten_day',this)"
								value="${info.feedback_ten_day}" type="text"
								class="tableinput feedback_num" /></td>
							<td><input readonly="true" name="feedback_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="feedback_charge"
								value="${info.id ne null ? info.feedback_charge : price6}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="feedback_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td rowspan="2"
								style="vertical-align: middle; background: rgba(0, 126, 255, 0.68); color: #fff;">
								<table style="border: none; width: 100%;">
									<tr>
										<td style="vertical-align: middle; border: none; width: 23px;"><input
											type="checkbox" id="flow" value="1" name="flow"
											${info.flow_checked eq 1 ?"checked='checked'":"" } /></td>
										<td style="vertical-align: middle; border: none;">流量<br />目标转换率<input
											name="crate" type="number" min="0" class="tableinput"
											value="${info.flow_rate }"
											style="height: 22px; width: 39px; text-align: center; line-height: 22px; border: solid 1px red;" />%
										</td>
									</tr>
								</table>
							</td>
							<td style="background: rgba(0, 126, 255, 0.68); color: #fff;">按超级链接进入</td>
							<td><input name="flow_url_one_day"
								value="${info.flow_url_one_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_two_day"
								value="${info.flow_url_two_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_three_day"
								value="${info.flow_url_three_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_four_day"
								value="${info.flow_url_four_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_five_day"
								value="${info.flow_url_five_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_six_day"
								value="${info.flow_url_six_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_seven_day"
								value="${info.flow_url_seven_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_eight_day"
								value="${info.flow_url_eight_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_nine_day"
								value="${info.flow_url_nine_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_url_ten_day"
								value="${info.flow_url_ten_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="flow_url_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="flow_url_charge"
								value="${info.id ne null ? info.flow_url_charge : price7/2}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="flow_url_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td style="background: rgba(0, 126, 255, 0.68); color: #fff;">按搜索结果进入</td>
							<td><input name="flow_result_one_day"
								value="${info.flow_result_one_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_two_day"
								value="${info.flow_result_two_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_three_day"
								value="${info.flow_result_three_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_four_day"
								value="${info.flow_result_four_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_five_day"
								value="${info.flow_result_five_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_six_day"
								value="${info.flow_result_six_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_seven_day"
								value="${info.flow_result_seven_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_eight_day"
								value="${info.flow_result_eight_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_nine_day"
								value="${info.flow_result_nine_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input name="flow_result_ten_day"
								value="${info.flow_result_ten_day}" type="number" min="0"
								maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="flow_result_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="flow_result_charge"
								value="${info.id ne null ? info.flow_result_charge : price7}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="flow_result_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td rowspan="2"
								style="vertical-align: middle; background: rgba(255, 0, 153, 0.68); color: #fff;">
								<table style="border: none; width: 100%;">
									<tr>
										<td style="vertical-align: middle; border: none; width: 23px;"><input
											name="wish" id="wish" value="1"
											${info.hope_checked eq 1 ?"checked='checked'":"" }
											type="checkbox" /></td>
										<td style="vertical-align: middle; border: none;">加入愿望清单<br />
											<input name="wishRate" type="number" min="0"
											class="tableinput" value="${info.hope_rate }"
											style="height: 22px; width: 39px; text-align: center; line-height: 22px; border: solid 1px red;" />%
										</td>
									</tr>
								</table>
							</td>
							<td style="background: rgba(255, 0, 153, 0.68); color: #fff;">按超级链接进入</td>
							<td><input name="wish_url_one_day"
								value="${info.wish_url_one_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_two_day"
								value="${info.wish_url_two_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_three_day"
								value="${info.wish_url_three_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_four_day"
								value="${info.wish_url_four_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_five_day"
								value="${info.wish_url_five_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_six_day"
								value="${info.wish_url_six_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_seven_day"
								value="${info.wish_url_seven_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_eight_day"
								value="${info.wish_url_eight_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_nine_day"
								value="${info.wish_url_nine_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_url_ten_day"
								value="${info.wish_url_ten_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input readonly="true" name="wish_url_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="wish_url_charge"
								value="${info.id ne null ? info.wish_url_charge : price12}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="wish_url_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td style="background: rgba(255, 0, 153, 0.68); color: #fff;">按搜索结果进入</td>
							<td><input name="wish_result_one_day"
								value="${info.wish_result_one_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_two_day"
								value="${info.wish_result_two_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_three_day"
								value="${info.wish_result_three_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_four_day"
								value="${info.wish_result_four_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_five_day"
								value="${info.wish_result_five_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_six_day"
								value="${info.wish_result_six_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_seven_day"
								value="${info.wish_result_seven_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_eight_day"
								value="${info.wish_result_eight_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_nine_day"
								value="${info.wish_result_nine_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="wish_result_ten_day"
								value="${info.wish_result_ten_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input readonly="true" name="wish_result_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="wish_result_charge"
								value="${info.id ne null ? info.wish_result_charge : price12+1}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="wish_result_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td rowspan="2"
								style="vertical-align: middle; background: #E9C341; color: #fff;">
								<table style="border: none; width: 100%;">
									<tr>
										<td style="vertical-align: middle; border: none; width: 23px;"><input
											name="cart" id="cart" value="1"
											${info.favorite_checked eq 1 ?"checked='checked'":"" }
											type="checkbox" /></td>
										<td style="vertical-align: middle; border: none;">加入购物车并收藏页面<br />
											<input name="cartRate" type="number" min="0"
											class="tableinput" value="${info.favorite_rate }"
											style="height: 22px; width: 39px; text-align: center; line-height: 22px; border: solid 1px red;" />%
										</td>
									</tr>
								</table>
							</td>
							<td style="background: #E9C341; color: #fff;">按超级链接进入</td>
							<td><input name="cart_url_one_day"
								value="${info.cart_url_one_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_two_day"
								value="${info.cart_url_two_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_three_day"
								value="${info.cart_url_three_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_four_day"
								value="${info.cart_url_four_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_five_day"
								value="${info.cart_url_five_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_six_day"
								value="${info.cart_url_six_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_seven_day"
								value="${info.cart_url_seven_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_eight_day"
								value="${info.cart_url_eight_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_nine_day"
								value="${info.cart_url_nine_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_url_ten_day"
								value="${info.cart_url_ten_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input readonly="true" name="cart_url_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="cart_url_charge"
								value="${info.id ne null ? info.cart_url_charge : price11}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="cart_url_sun" type="text"
								maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr>
							<td style="background: #E9C341; color: #fff;">按搜索结果进入</td>
							<td><input name="cart_result_one_day"
								value="${info.cart_result_one_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_two_day"
								value="${info.cart_result_two_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_three_day"
								value="${info.cart_result_three_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_four_day"
								value="${info.cart_result_four_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_five_day"
								value="${info.cart_result_five_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_six_day"
								value="${info.cart_result_six_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_seven_day"
								value="${info.cart_result_seven_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_eight_day"
								value="${info.cart_result_eight_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_nine_day"
								value="${info.cart_result_nine_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input name="cart_result_ten_day"
								value="${info.cart_result_ten_day}" type="number" min="0"
								class="tableinput" /></td>
							<td><input readonly="true" name="cart_result_day_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
							<td><input name="cart_result_charge"
								value="${info.id ne null ? info.cart_result_charge : price11+1}"
								readonly="true" type="text" maxlength="2" class="tableinput" /></td>
							<td><input readonly="true" name="cart_result_sun"
								type="text" maxlength="2" class="tableinput" value="" /></td>
						</tr>
						<tr style="background: #13C1E8; color: #fff;">
							<td rowspan="2" style="vertical-align: middle; font-weight: bold; font-size: 14px;">订单金额：</td>
							<td colspan="15" rowspan="2" 
								style="font-size: 14px; font-weight: blod; text-align: left; padding-left: 10px;">
								产品代付（数量：<input style="width: 80px; background: #13C1E8; color: #fff;"
								readonly="true"  name="proNum" type="text" maxlength="2" class="tableinput"
								value="" />）
								&nbsp;&nbsp; 
								总额：$<input style="width: 80px; background: #13C1E8; color: #fff;"
								readonly="true" name="rentalNum" type="text" maxlength="2"
								class="tableinput" value="" /> 
								<!-- &nbsp;&nbsp;&nbsp;&nbsp;<br /> -->
								代购手续费总额：&yen;<input style="width: 80px; background: #13C1E8; color: #fff;"
								readonly="true" name="procedureNum" type="text" maxlength="2"
								class="tableinput" value="${info.procedureNum }" />
								<!-- &nbsp;&nbsp;&nbsp;&nbsp;<br /> -->
								总支付金额：<span style="font-size: 20px; color: red; background: #13C1E8; color: #fff;">&yen;
									<input style="width: 80px; background: #13C1E8; color: #fff;"
									readonly="true" name="payNum" type="text" maxlength="2"
									class="tableinput" value="${info.payNum }" />
							</span>
							</td>

						</tr>

					</table>
				</div>

				<div style="float: right; margin-bottom: 10px;">
					<input name="" type="submit" class="btn" value="保存" />
					<!-- <input name="" type="button" class="btn" value="现在支付" /> -->
				</div>

				<div class="tip" style="display: none;">
					<div class="tiptop">
						<span>REVIEW数量</span><a class="cancel"></a>
					</div>
					<div class="tipinfo" style="margin-left: 31px;">
						<input type="hidden" id="hfScore" value="5" />
						<input type="hidden" id="hfReviewId" value=""/>
						<ul class="forminfo">
							<li>
								<div id="tdReview"></div>
							</li>
							<li><label>REVIEW星级<b>*</b></label>
								<div class="star"></div>
							</li>
							<li><label>REVIEW标题</label> 
								<input id="txtTitle" style="width: 400px;" type="text" class="dfinput" />
							</li>
							<li><label>REVIEW内容<b>*</b></label> 
								<textarea id="txtContent" class="dfinput"
									style="width: 400px; height: 70px;"></textarea>
							</li>
						</ul>
						<div style="margin-bottom: 15px; margin-left: 26px;">
							<input id="saveReview" type="button" class="sure" value="保存" />&nbsp;
							<input name="" type="button" class="cancel" value="返回" />
						</div>
					</div>
				</div>

				<input type="hidden" name="review_one_day_info" value="${info.review_one_day_info}" /> 
				<input type="hidden" name="review_two_day_info" value="${info.review_two_day_info}" />
				<input type="hidden" name="review_three_day_info" value="${info.review_three_day_info}" /> 
				<input type="hidden" name="review_four_day_info" value="${info.review_four_day_info}" />
				<input type="hidden" name="review_five_day_info" value="${info.review_five_day_info}" /> 
				<input type="hidden" name="review_six_day_info" value="${info.review_six_day_info}" />
				<input type="hidden" name="review_seven_day_info" value="${info.review_seven_day_info}" /> 
				<input type="hidden" name="review_eight_day_info" value="${info.review_eight_day_info}" />
				<input type="hidden" name="review_nine_day_info" value="${info.review_nine_day_info}" /> 
				<input type="hidden" name="review_ten_day_info" value="${info.review_ten_day_info}" />


				<div class="tips" style="display: none;">
					<div class="tipstop">
						<span>FEEDBACK数量</span><a class="cancels"></a>
					</div>
					<div class="tipsinfo" style="margin-left: 15px;">
						<input type="hidden" id="fdScore" value="5" />
						<input type="hidden" id="fdId" value=""/>
						<ul class="forminfos">
							<li>
								<div id="tdFeedback"></div>
							</li>
							<li><label>FEEDBACK星级<b>*</b></label>
								<div class="fdstar"></div></li>
							<li><label>FEEDBACK内容<b>*</b></label> 
								<textarea id="fdContent" class="dfinput" style="width: 430px; height: 70px;"></textarea>
							</li>
						</ul>
						<div style="margin-bottom: 15px; margin-left: 26px;">
							<input id="saveFeedback" type="button" class="sures" value="保存" />&nbsp; <input
								name="" type="button" class="cancels" value="返回" />
						</div>
					</div>

					<input type="hidden" name="feedback_one_day_info" value="${info.feedback_one_day_info}" /> 
					<input type="hidden" name="feedback_two_day_info" value="${info.feedback_two_day_info}" />
					<input type="hidden" name="feedback_three_day_info" value="${info.feedback_three_day_info}" /> 
					<input type="hidden" name="feedback_four_day_info" value="${info.feedback_four_day_info}" /> 
					<input type="hidden" name="feedback_five_day_info" value="${info.feedback_five_day_info}" /> 
					<input type="hidden" name="feedback_six_day_info" value="${info.feedback_six_day_info}" />
					<input type="hidden" name="feedback_seven_day_info" value="${info.feedback_seven_day_info}" /> 
					<input type="hidden" name="feedback_eight_day_info" value="${info.feedback_eight_day_info}" /> 
					<input type="hidden" name="feedback_nine_day_info" value="${info.feedback_nine_day_info}" /> 
					<input type="hidden" name="feedback_ten_day_info" value="${info.feedback_ten_day_info}" />
				</div>

			</div>
		</form>
		<div class="formtitle" style="margin-top: 50px;">
			<span>常见问题</span>
		</div>
		<div>
			<ol>
				<li>Q:为什么要提供小号才能代购？</li>
				<li>A:万一亚马逊开始严查代购的，受惩罚的肯定是小号，你的主账号不会有任何风险。</li>
			</ol>
		</div>

	</div>

	<script type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
	<script type="text/javascript"
		src="Simpletooltip-1.3.0/dist/js/simpletooltip.js"></script>
	<script type="text/javascript" src="star/lib/jquery.raty.min.js"></script>
	<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript"
		src="js/data.js?v=<%=StringHelper.getCurrentTimeStamp()%>"></script>
	<script type="text/javascript"
		src="js/date.js?v=<%=StringHelper.getCurrentTimeStamp()%>"></script>
	<script type="text/javascript">

	var d = new Date();
		//$("#usual1 ul").idTabs();
		//$('.tablelist tbody tr:odd').addClass('odd');
		  $(function() {
			  var asin = $("input[name='asin']");
			  var sale_id = $("input[name='sale_id']");
			  var pro_price = $("input[name='pro_price']");
			  var p_price = $("input[name='p_price']");
			  var pro_key = $("input[name='pro_key']");
			  var pro_url = $("input[name='pro_url']");
			  var pro_title = $("input[name='pro_title']");
			  var pro_name = $("input[name='pro_name']");
			  asin.simpletooltip({ });
			  sale_id.simpletooltip({ });
			  pro_price.simpletooltip({ });
			  p_price.simpletooltip({ });
			  pro_key.simpletooltip({ });
			  pro_url.simpletooltip({ });
			  pro_title.simpletooltip({ });
			  pro_name.simpletooltip({ });
			  
			  
		    $.fn.raty.defaults.path = '<%=path%>/star/lib/img';

			/*根据地址栏传过来的type的值来判断，是【修改：0】还是【查看：1】操作;
				若为【查看】，隐藏提交保存按钮 ---start---*/
			var type = $("input[name='type']");
			if (type.val() == 1) {
				$(".btn").hide();
				$(".sure").hide();
				$(".sures").hide();
				
			} else {
				$(".btn").show();
				$(".sure").show();
				$(".sures").show();
			} 
			/*--end--*/

			$('.star').raty({
				score : 5,
				click:function(score,evt){
					$("#hfScore").val(score);
					$("#fdScore").val(score);
				}
				
			});
			
			$('.fdstar').raty({
				score : 5,
				click:function(score,evt){
					
					$("#fdScore").val(score);
				}
				
			});

			$(".cancel").click(function() {
				$(".tip").hide();
			});

			
			$(".cancels").click(function() {
				$(".tips").hide();
			});
			

			var orderNo = '${param.orderNo}';
			if (orderNo == "") {
				// 表示新增
				$('#order').attr("checked", "checked"); 
				//alert($('#order').attr("checked", "checked")); 
				$("#flow").attr("checked", "checked");
				$("#wish").attr("checked", "checked");
				$("#cart").attr("checked", "checked");

				$('#order_check').val("1");
				/* $("input[name='order']").val("1"); 
				alert($("input[name='order']").val()); */
				$("input[name='crate']").val(10);
				$("input[name='wishRate']").val(5);
				$("input[name='cartRate']").val(5);
				
				if($('#rdocM').attr("checked")){
					 $("#siteId").val("1");
					 <%-- $.ajax({
							url:"<%=path%>/task.do?m=site",
							type:"POST",
							data:"siteId="+$("#siteId").val("1")+"&time="+new Date().getTime(),
							success:function(obj){
								$("#exchangeRate").val();
							},
							error:function(obj){
								alert(obj.error);
							}
						}); --%>
					
				}else if($('#rdocD').attr("checked")){
					 $("#siteId").val("2");
				}else{
					 $("#siteId").val("3");
				}
				
			} else {

				// 合计：
				sun(flow_url_one_day, order_url_one_day, order_ad_one_day,
						order_result_one_day, flow_result_one_day,
						wish_url_one_day, wish_result_one_day,
						cart_url_one_day, cart_result_one_day);
			}
			/*保存Review*/
			$("#saveReview").click(function(){				
				   var order_no = '${param.orderNo}';
				   if(order_no==""){
					   order_no = $("#orderNo").val();
				   }
				   var d = $("#hfDay").val();
				   var day = $("#hfDate").val();
				    /*查询列表*/	
					$.ajax({
						url:"<%=path%>/review.do?m=save",
						type:"POST",
						data:"id="+$("#hfReviewId").val()+"&star="+$("#hfScore").val()
						+"&content="+$("#txtContent").val()+"&title="+$("#txtTitle").val()
						+"&orderNo="+order_no+"&type=1&d="+d+"&time="+new Date().getTime(),
						success:function(obj){
							$("#tdReview").html(obj.split("&&&&&&")[0]);
							$("#"+day).val(obj.split("&&&&&&")[1]);
							$("#txtContent").val("");
							$("#txtTitle").val("");
							 $('.star').raty({
									score : 5,
									click:function(score,evt){
										$("#hfScore").val(score);
									}
							  });
							 $("#hfReviewId").val("");
							 $("#hfScore").val("5");
							 reviewSun();
						},
						error:function(obj){
							alert(obj.error);
						}
						
					});
				
			});
			
			/*保存Feedback*/
			$("#saveFeedback").click(function(){				
				   var order_no = '${param.orderNo}';
				   if(order_no==""){
					   order_no = $("#orderNo").val();
				   }
				   var d = $("#hfDay").val();
				   var day = $("#hfDate").val();
				    /*查询列表*/	
					$.ajax({
						url:"<%=path%>/review.do?m=save",
						type:"POST",
						data:"id="+$("#fdId").val()+"&star="+$("#fdScore").val()+"&content="+$("#fdContent").val()+"&title="+$("#fdTitle").val()+"&orderNo="+order_no+"&type=2&d="+d+"&time="+new Date().getTime(),
						success:function(obj){
							$("#tdFeedback").html(obj.split("&&&&&&")[0]);
							$("#"+day).val(obj.split("&&&&&&")[1]);
							$("#fdContent").val("");
							$("#fdTitle").val("");
							 $('.fdstar').raty({
									score : 5,
									click:function(score,evt){
										$("#fdScore").val(score);
									}
							  });
							 $("#fdId").val("");
							 $("#fdScore").val("5");
							 feedbackSun();
						},
						error:function(obj){
							alert(obj.error);
						}
						
					});
				
			});
			
			

		});
		  
		  
		  /*添加Reivew*/
		  function addReview(date,obj){
			  $(".tip").show();
			   var order_no = '${param.orderNo}';
			   if(order_no==""){
				   order_no = $("#orderNo").val();
			   }
			  
			   var d = $("#"+date);
			   
			   var day = "2016-" + d.val().replace("月","-").replace("日","");
			   $("#hfDay").val(day);
			 
			   $("#hfDate").val(obj.id);
			    /*查询列表*/	
				$.ajax({
					url:"<%=path%>/review.do",
					type:"POST",
					data:"orderNo="+order_no+"&type=1&d="+day+"&time="+new Date().getTime(),
					success:function(obj){
						$("#tdReview").html(obj.split("&&&&&&")[0]);
						$("#"+obj.id).val(obj.split("&&&&&&")[1]);
						
					},
					error:function(obj){
						alert(obj.error);
					}
				});
		  }
		  
		  
		  /*添加Feedback*/
		  function addFeedback(date,obj){
			  $(".tips").show();
			   var order_no = '${param.orderNo}';
			   if(order_no==""){
				   order_no = $("#orderNo").val();
			   }
			  
			   var d = $("#"+date);
			   
			   var day = "2016-" + d.val().replace("月","-").replace("日","");
			   $("#hfDay").val(day);
			 
			   $("#hfDate").val(obj.id);
			    /*查询列表*/	
				$.ajax({
					url:"<%=path%>/review.do",
					type:"POST",
					data:"orderNo="+order_no+"&type=2&d="+day+"&time="+new Date().getTime(),
					success:function(obj){
						$("#tdFeedback").html(obj.split("&&&&&&")[0]);
						$("#"+obj.id).val(obj.split("&&&&&&")[1]);
					},
					error:function(obj){
						alert(obj.error);
					}
				});
		  }
		  
		  /*显示Reivew*/
		  function info(id,t,c,s){
			  $("#txtTitle").val(t);
			  $("#txtContent").val(c);
			  $("#hfScore").val(s);
			  $("#hfReviewId").val(id);
			  $('.star').raty({
					score : s,
					click:function(score,evt){
						$("#hfScore").val(score);
					}
			  });
		  }
		  /*显示Feedback*/
		  function infofd(id,t,c,s){
			  $("#fdTitle").val(t);
			  $("#fdContent").val(c);
			  $("#fdScore").val(s);
			  $("#fdId").val(id);
			  $('.fdstar').raty({
					score : s,
					click:function(score,evt){
						$("#fdScore").val(score);
					}
			  });
		  }
		  
		  /*删除Reivew*/
		  function del(id,order_no,d,type){
			    var day = $("#hfDate").val();
			    
				$.ajax({
						url:"<%=path%>/review.do?m=delete",
						type : "POST",
						data : "id=" + id + "&orderNo=" + order_no + "&type=" + type
								+ "&d=" + d + "&time=" + new Date().getTime(),
						success : function(obj) {
							$("#tdReview").html(obj.split("&&&&&&")[0]);
							$("#"+day).val(obj.split("&&&&&&")[1]);
							reviewSun();
						},
						error : function(obj) {
							alert(obj.error);
						}
			});
		}
		  
		  /*删除Feedback*/
		  function delfd(id,order_no,d,type){
			    var day = $("#hfDate").val();
			    
				$.ajax({
						url:"<%=path%>/review.do?m=delete",
						type : "POST",
						data : "id=" + id + "&orderNo=" + order_no + "&type=" + type
								+ "&d=" + d + "&time=" + new Date().getTime(),
						success : function(obj) {
							$("#tdFeedback").html(obj.split("&&&&&&")[0]);
							$("#"+day).val(obj.split("&&&&&&")[1]);
							feedbackSun();
						},
						error : function(obj) {
							alert(obj.error);
						}
			});
		  }
	</script>

</body>
</html>